import Layout from "/@/layout/index.vue";

const userRouter = {
  path: "/user",
  name: "userModify",
  component: Layout,
  redirect: "/user/modify",
  meta: {
    icon: "el-icon-s-custom",
    title: "message.hsuser",
    showLink: true,
    savedPosition: true,
    rank: 1
  },
  children: [
    {
      path: "/user/modify",
      name: "modifyUserInfo",
      component: () => import("/@/views/user/modify.vue"),
      meta: {
        title: "message.hsmodifyuser",
        showLink: true,
        savedPosition: true
      }
    },
    {
      path: "/user/modifyPwd",
      name: "modifyPwd",
      component: () => import("/@/views/user/modifyPwd.vue"),
      meta: {
        title: "message.hsmodifypwd",
        showLink: true,
        savedPosition: true
      }
    }
  ]
};
export default userRouter;
